LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-29-2003, 04:17 PM   #1
Nadim
Member
 
Registered: Oct 2003
Location: Lebanon
Distribution: Slackware-DSL
Posts: 57

Rep: Reputation: 15
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 ?
 
Old 11-29-2003, 04:22 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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.
 
Old 11-29-2003, 04:43 PM   #3
Nadim
Member
 
Registered: Oct 2003
Location: Lebanon
Distribution: Slackware-DSL
Posts: 57

Original Poster
Rep: Reputation: 15
but i want to access the win folder as a user to play some music
 
Old 11-29-2003, 04:51 PM   #4
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Rep: Reputation: 92
Hi Nadim

Mount your ntfs partition with mount options "default,ro,user,umask=022".
 
Old 11-29-2003, 04:52 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You shoudln't need to have write access to do that - just mount the partition with read and execute access for all users.
 
Old 11-29-2003, 06:03 PM   #6
Nadim
Member
 
Registered: Oct 2003
Location: Lebanon
Distribution: Slackware-DSL
Posts: 57

Original Poster
Rep: Reputation: 15
done

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change default file permissions bmorel Linux - Newbie 4 05-08-2005 07:06 PM
File owner and File group locked - root deiphage Linux - Hardware 5 02-05-2005 01:30 PM
chmod won't change the file permissions midtown266 Linux - Newbie 12 11-28-2004 07:46 PM
how to i change file owner back to root ? glacier1985 Linux - Newbie 10 06-17-2004 09:20 PM
Change file owner in W2K on a RH8 server RobLea Linux - Networking 1 10-09-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration