LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permissions on folders & Partitions Ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-on-folders-and-partitions-ubuntu-701073/)

ahmed_as8 01-30-2009 12:53 PM

Permissions on folders & Partitions Ubuntu
 
Hi there .. how can I set permissions on partitions or folders on Ubuntu 8.10 .. when I right click on any folder or partition .. I cant modify in them it says owner root although my User is of root Group .. ah I forgot to say they are NTFS partitions .. so is their an easy way to enable me to set permissions on those folders? Thanks.

yadava 01-30-2009 01:00 PM

first of all linux does not understand the NTFS partiton by default
though it can be accessed by the installation of tool ntfs-3g rpm on some distribution or on some by default.
but we can not set the permission on NTFS file system from linux plateform. i think so.

ahmed_as8 01-30-2009 01:20 PM

Yes I installed ntfs-3g & I can write on ntfs partitions .. but I dont want all users to read & write on it

digerati1338 01-30-2009 02:49 PM

I think you can specify permissions for the entire partition in fstab. If I remember right it is part of the umask option. As far as I know, you can't do individual file permissions since the NTFS doesn't support this.

yadava 01-31-2009 01:03 AM

try to apply "acl" on that folder
by use of "acl" u can apply very much finer permission on the partion

ahmed_as8 01-31-2009 03:25 AM

Quote:

Originally Posted by yadava (Post 3426970)
try to apply "acl" on that folder
by use of "acl" u can apply very much finer permission on the partion

Sorry I don't know what is acl .. can u explain to me what is that & how can I use it? Thanks.

vibinlakshman 01-31-2009 06:19 AM

for folder chmod will help
 
sudo chmod 000 /location will make folder absolute lock , except for root
u can have a script for this command and make it more colourful
But for partition it need to be googled more
Expect another post frm me dude soon

vibinlakshman 01-31-2009 06:21 AM

find below link for acl
 
http://tlug.dnho.net/?q=node/171

very gud help try it buddy


All times are GMT -5. The time now is 03:20 PM.