RE: Permission inheritance problem

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

 



>


Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 0406.024.281, RPR Mechelen, ING  310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB

-----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of kavya
> Sent: vrijdag 18 november 2011 6:38
> To: General Red Hat Linux discussion list
> Subject: Permission inheritance problem
>
> *Hi all*,
>
>           Am working with file permission I have a query,
>
> usually on /mnt normal users will not be having permission to write so I
> gave permission such as
> #chmod 766 /mnt
> #chmod go+t /mnt    I have enabled a sticky bit on /mnt  for group and
> others, as sticky bit is set, even the files and folders under /mnt can not
> be deleted by others even if they have complete permissions and no sticky
> bit is set for files under /mnt, is there any option to allow users to
> delete only particular files ?????

What is it you are trying to achieve?  Are you trying to use /mnt as a regular directory?  Or using /mnt as it is designed, i.e. as a mount point for a remote file system?

If you are mounting a remote filesystem changing the permissions on /mnt won't have the desired effect.

How to grant permissions on a remote file system will depend on the type of that file system, NFS, samba, as well as the remote file system NTFS, ext2,3,4, XFS, etc..

Check man mount for options to set things like UID, GID, file modes etc. depending on which type of mount you are using.

Regards

Bram

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux