Setting share permissions

Status
Not open for further replies.

Andy L

Cadet
Joined
Oct 4, 2011
Messages
4
I'm trying to follow this guide to set permissions to allow users to share a common folder and have their own private folder and have worked through all the steps in the guide but when I'm trying to log into the shares on my Windows XP SP3 machine, I'm being refused access (i.e. no error message is given). What am I doing wrong? I'm running a new installation of FreeNAS 8.0.2 AMD64 and I can access all three of the shares/folders when using the root user...
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Hi Andy,

The post you referred to is one that I wrote. I'm not sure what might have changed. I'll need some time to take a look. Maybe someone else has an idea before that. I've noticed a lot of posts from people having trouble accessing CIFS shares from Windows, maybe its a related problem. Sorry I don't know the answer right now.
 

tmacka88

Patron
Joined
Jul 5, 2011
Messages
268
Also need help. I had my permissions set-up and working for volume1, but needed to change them for volume2. In the process of trying to get them both to work I stuffed the working one up to. This is what I have done.

[TrentMackness@freenas] ~> su
Password:
[TrentMackness@freenas] /mnt/# cd /mnt/Volume2
[TrentMackness@freenas] /mnt/Volume2# chown -R root:TrentMackness
usage: chown [-fhvx] [-R [-H | -L | -P]] owner[:group] file ...
chown [-fhvx] [-R [-H | -L | -P]] :group file ...
[TrentMackness@freenas] /mnt/Volume2# chmod -R 775
usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...
[TrentMackness@freenas] /mnt/Volume2# cd /mnt/Volume1
[TrentMackness@freenas] /mnt/Volume1# chown -R root:TrentMackness
usage: chown [-fhvx] [-R [-H | -L | -P]] owner[:group] file ...
chown [-fhvx] [-R [-H | -L | -P]] :group file ...
[TrentMackness@freenas] /mnt/Volume1# chmod -R 775
usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...
[TrentMackness@freenas] /mnt/Volume1# chmod -R 775 /mnt/Volume1
[TrentMackness@freenas] /mnt/Volume1# chown -R root:TrentMacknes /mnt/Volume1
chown: TrentMacknes: Invalid argument
[TrentMackness@freenas] /mnt/Volume1# chown -R root:Admin /mnt/Volume1
[TrentMackness@freenas] /mnt/Volume1# chmod -R 775 /mnt/Volume1
[TrentMackness@freenas] /mnt/Volume1# cd /mnt/Volume2
[TrentMackness@freenas] /mnt/Volume2# chown -R root:Admin /mnt/Volume2
[TrentMackness@freenas] /mnt/Volume2# chmod -R 775 /mnt/Volume2
[TrentMackness@freenas] /mnt/Volume2#

I have 2 user
1. guest
2. TLM

Groups
1.guest
2.Admin

guest = guest & TLM = Admin
So how I have been getting them set up is giving all access to me and only execute accesss to other groups.

Anyone can help would be great
 
Status
Not open for further replies.
Top