Results 1 to 4 of 4
Hello i am trying to figure how i can give my windows machine permissions to open a folder on my nas server that has ubuntu server. My windows can see ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-08-2012 #1Just Joined!
- Join Date
- Dec 2012
- Posts
- 11
Ubuntu Server - Windows permissions
Hello i am trying to figure how i can give my windows machine permissions to open a folder on my nas server that has ubuntu server. My windows can see the shared folder and can open the shared folder but can not open anything inside that folder. how can i give my windows permission to do so.
- 12-11-2012 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,685
Hi,
It sounds like you need to properly set up the Samba share on your Ubuntu box. Check out the main configuration file, typically /etc/samba/smb.conf.
It may be that you already have the share set up, but you also need to add a user. Do this using the smbpasswd command. This user (or a group) needs to be specified in the samba share.
Also, you need to be sure that the file system permissions of the share are sufficient for the share to be writable.
Be sure to restart Samba after making changes to the smb.conf file.
If you need more help, post the samba config file contents, the file permissions of the directory you wish to share, and the samba user name.
- 12-13-2012 #3Just Joined!
- Join Date
- Dec 2012
- Posts
- 11
I dunno it was working now i did somthing now i can not get into the folder at all ugh.. New at this linux stuff.. I could take screen shots of Samba if you like of the shared folder if you like.. I am using webmin
- 12-13-2012 #4Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,685
a screenshot would be okay, but in this case just copy-pasting the pertinent text into a post would be better.
show the output of these commands:
Code:# display samba config file cat /etc/samba/smb.conf
Code:# show directory permissions ls -ld /path/to/samba/share
be sure to enclose the output in the CODE tags to make it easier to read.Code:# see if SELinux is enabled getenforce


Reply With Quote
