[CLUE-Tech] samba file permissions

David Anselmi anselmi at anselmi.us
Mon Aug 23 13:23:34 MDT 2004


Mike Staver wrote:
[...]
> As you can see, the user nobody owns the uploads folder and all the 
> subfolders.  I now want the user wwwrun (a Suse thing) to be the owner 
> of all the files in the uploads folder.  I have tried:
> 
> www2:/srv/www/htdocs/hotline/uploads # chown wwwrun *
> chown: changing ownership of `106': Operation not permitted

The owner of the file is an NTFS attribute that has no meaning on Linux. 
  The wwwrun user has no meaning on NTFS, hence chown doesn't work.

The ownership on Linux is determined by Samba--adjust your smbmount 
config to have it set to something else.

HTH,
Dave




More information about the clue-tech mailing list