Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-11-2004, 01:45 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 19

Rep: Reputation: 0
Changing permissions of mounted folder of XP box

I have a folder of my XP box mounted by Linux across a crossover cable (I'm trying to share my Mozilla profile). It's set within Windows with no read-only settings. The mount gives full permissions to root and r-x to others, which I'm trying to change. The folloing happens (done as root):

linux:/mnt/mozilla # chmod -vR a=rxw 5ed7zjn9.slt/

mode of `5ed7zjn9.slt/' changed to 0777 (rwxrwxrwx)
mode of `5ed7zjn9.slt//81867345.s' changed to 0777 (rwxrwxrwx)
mode of `5ed7zjn9.slt//abook.mab' changed to 0777 (rwxrwxrwx)

(...and so on, through all the files and directories)

However, the permissions don't get changed, as shown when I subesquently do the following:

linux:/mnt/mozilla # ls -l

total 8
drwxr-xr-x 1 root root 4096 2004-05-28 00:41 .
drwxr-xr-x 4 root root 96 2004-06-11 00:59 ..
drwxr-xr-x 1 root root 4096 2004-06-11 19:21 5ed7zjn9.slt

linux:/mnt/mozilla # cd 5ed7zjn9.slt/
linux:/mnt/mozilla/5ed7zjn9.slt # ls -l

total 7203
drwxr-xr-x 1 root root 4096 2004-06-11 19:21 .
drwxr-xr-x 1 root root 4096 2004-05-28 00:41 ..
-rwxr-xr-x 1 root root 2226 2004-06-11 11:48 81867345.s
drwxr-xr-x 1 root root 4096 2004-06-11 19:22 Cache
drwxr-xr-x 1 root root 4096 2004-06-10 22:35 Cache.Trash
Any ideas what's happening?
Old 06-12-2004, 04:09 PM   #2
Registered: Jun 2004
Location: INDIA
Distribution: RedHat 9.2,Mandrake 10.2
Posts: 21

Rep: Reputation: 15
chmod wont work because the file structure for vfat and linux file system is different.
Instead off that mount the XP partion with somthing like this
/dev/hda1 /mnt/win_c vfat auto,user,rw,unhide 0 0

in /etc/fstab
after editing do mount -a as root


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
Can't allow partion permissions for a vfat partition, mounted as my home folder DrD Linux - General 19 07-26-2006 12:26 PM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
changing permissions of mounted fs mrchaos Slackware 3 03-16-2005 02:43 PM
(re)sharing an nfs-mounted folder with samba rtspitz Linux - Networking 1 02-13-2005 01:36 PM
changing permissions on mounted drives. Moses420ca Linux - Newbie 2 07-04-2003 08:17 AM > Forums > Linux Forums > Linux - Networking

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

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