Koozali.org: home of the SME Server

access problems

Offline jvels

  • ***
  • 130
  • +0/-0
    • http://vels.dk
access problems
« on: July 11, 2006, 10:14:09 PM »
Hi

I have set up SME 7 as domain controller. I have made a netlogon.bat and it works fine.

I have createt a ibay call "work"

A group call "work_gp"

A user there are member of "work_gp"

The ibay is Group "work_gp"

User access via file sharing or user ftp: write=group  read=group

But when I try to copy someting from my windows machine to my share, I got  the error the network drive is write protected?????

Can someone please help my what are I doing wrong?

Offline mmccarn

  • *
  • 2,627
  • +10/-0
access problems
« Reply #1 on: July 13, 2006, 05:46:55 AM »
On my SME 7 system I found that the root of my ibay was read-only, but any of the subdirectories were read/write (html, files, cgi-bin).

Before I could write in the root of the ibay I had to:

# cd /home/e-smith/files/ibays/<ibay>
# chown user:group .
# chmod 550 .

I could now "write" in the root of the ibay, but since the /etc/e-smith/events/actions/ibay-modify script says:
Quote
#------------------------------------------------------------
# Fix permissions on ibay files.
#------------------------------------------------------------

#--------------------------------------------------
# main directory is writeable only by root
#--------------------------------------------------

chdir "/home/e-smith/files/ibays/$ibayName"
   or die "Could not chdir to /home/e-smith/files/ibays/$ibayName";

mkdir '.AppleDesktop' unless (-d '.AppleDesktop');

esmith::util::chownFile("root", "root", ".");
chmod 0755, ".";


I suspect that the root will get locked again when you reboot...