LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   file permissions and file owner won't change (http://www.linuxquestions.org/questions/slackware-14/file-permissions-and-file-owner-wont-change-121068/)

Nadim 11-29-2003 05:17 PM

file permissions and file owner won't change
 
ok i ve mounted my ntfs permission as a user using the su command in the bash script on x (as normal usr)
of course am not able to enter it so .. i was changing the file owner and the file group
chown and chgrp
so it gives me
chgrp: changing group of `wine': Read-only file system
and
chown: changing ownership of `wine': Read-only file system

and when i write ls -l
r-x------ 1 root root 8192 Nov 29 16:52 wine
as u see the ownership is not changing
anybody with ideas ?

david_ross 11-29-2003 05:22 PM

Filesystem operations liek this should only be done (will only work) on linux filesystems NTFS should only be mounted as readonly anyway since write support is not yet stable.

Nadim 11-29-2003 05:43 PM

but i want to access the win folder as a user to play some music

fskmh 11-29-2003 05:51 PM

Hi Nadim

Mount your ntfs partition with mount options "default,ro,user,umask=022".

david_ross 11-29-2003 05:52 PM

You shoudln't need to have write access to do that - just mount the partition with read and execute access for all users.

Nadim 11-29-2003 07:03 PM

done
 
ok thanks a lot it worked ...u r wonderfull guys


All times are GMT -5. The time now is 10:27 PM.