Re: Fwd: [Question] NFS and default file / folder permission

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/19/2012 12:06 PM, Milovan Krivokapić wrote:
> Hi, a quick question:
> I have a problem regarding file permissions on NFS. Umask works for
> new files well, but if I get a file via Skype with permission like 600
> and then I put that file on NFS, it keeps permission 600 thus others
> from a group cant use it at all (I am sharing files via common group).
> 
> So the question is how to enforce some default file / folder
> permission on NFS? So in this example, I put file on NFS as client
> with 600 and it turns into 660 or similar (kind like a mask).

I don't think you can... but the current behavior seems like the right thing to do, since changing permissions on files could create security problems.

The best workaround I can come up with is creating a cron job to change permissions on everything in the directory (or if you're creative enough, just the new files).  Good luck!

- Bryan

> 
> Is it even possible or you have any suggestions?
> Debian 6 is a NFS server, clients are Kubuntu 12.04.1 stations that
> mounted NFS exported folder.
> 
> Thank you very much in advance.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux