[CentOS] nfs (v3?) fails to allow writes and permission changes

Rob Kampen

rkampen at kampensonline.com
Mon Jul 13 20:51:01 UTC 2009


Filipe Brandenburger wrote:
> On Mon, Jul 13, 2009 at 16:32, Rob Kampen<rkampen at kampensonline.com> wrote:
>   
>> BTW
>> chmod +w file.doc
>> only changes permissions for owner and group - world is left untouched, not
>> what I remembered, I guess some man reading coming my way.
>>     
>
> >From "man chmod":
>
> "If none of these are given, the effect is as if ‘a’ were given, but
> bits that are set in the umask are not affected."
>
> That means it will set all if your umask is "0". As your umask will
> probably be either "022" or "002", it will set write permissions to
> only user or only user+group respectively.
>
> HTH,
> Filipe
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   
Got it - that makes sense - Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rkampen.vcf
Type: text/x-vcard
Size: 121 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20090713/729e0a92/attachment-0001.vcf>


More information about the CentOS mailing list