LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Change filepermissions as root (https://www.linuxquestions.org/questions/linux-general-1/change-filepermissions-as-root-23255/)

crashmeister 06-12-2002 11:20 AM

Change filepermissions as root
 
I always thought that once i change in my secret identity as root i can setup the filepermissions any way i like to.
Doesn't work with the M$partition on my box. Is that normal or something i need to check out?

jglen490 06-12-2002 12:44 PM

I don't believe that Linux can change file permissions on Microsoft files. I'm not sure if that's a kernel problem, or if it's just that the Microsoft file metadata doesn't handle the kinds of permissions that Linux files handle.

Half_Elf 06-12-2002 03:07 PM

Well, FAT32 file system (if this is your MS partition) doesn't has permission at all... So it's just normal that Linux can't set permission on it (there are no "free space" in the 32 bytes of fat32 where to set permission information)
If your MS partition is NTFS then you can hope you will be able to set permission on it in few years... Bill Gates and all his minions work very hard to kill open source so don't even think they will give *nix users the specification of NTFS. Some guru try to discover all NTFS secret but it will take a lot of time (NTFS has 128 bytes instead of 32 !!!).:Pengy:

Noerr 06-12-2002 03:29 PM

depends what m$ partition you have, and how are you trying to access it
ntfs = read only
fat32=doesn't really have many permissions
attributes like hidden, read only, system, don't exist in linux, so you should check if there are any file utils for fat32

crashmeister 06-12-2002 04:34 PM

I got FAT. So basically it look like my box sets up the permissions for the Fatpartition that are valid when i try to do something from Linux with the M$partition - meaning the permissions i see are only valid for Linux and don't even exist in Windows.
Why can't root change them then for working from Linux??

acid_kewpie 06-12-2002 05:22 PM

FAT32 can't handle nix permissions. so you can't set them properly as there is nowhere for them to go. so you can only set them for the entire drive via fstab's umask option. e.g. umask=022

crashmeister 06-12-2002 07:59 PM

Thanks - i go and get me some info on that stuff.


All times are GMT -5. The time now is 02:28 AM.