Devsforev
08-07-2003, 03:05 PM
Hey everyone. I have this real annoying permission problem when I mount network drives. I tried to write to the drive, and got an error message. I realized that I was not the owner of the mount, so I went about to change that. Here is what my /mount folder looks like with /mnt/music and /mnt/server unmounted. /mnt/data is local (fat 32 partition) and has no trouble.
drwxr-xr-x 6 root root 1024 Aug 6 22:20 .
drwxr-xr-x 22 root root 1024 Aug 4 19:18 ..
drwxr-xr-x 2 root root 1024 Jul 27 16:34 cdrecorder
drwxr--r-- 7 devsforev devsforev 16384 Dec 31 1969 data
drwxr-xr-x 2 devsforev root 1024 Aug 6 22:20 music
drwxr-xr-x 2 devsforev root 1024 Aug 3 23:46 server
However, when I mount /mnt/music and /mnt/server, their owner changes. Compare the two.
drwxr-xr-x 6 root root 1024 Aug 6 22:20 .
drwxr-xr-x 22 root root 1024 Aug 4 19:18 ..
drwxr-xr-x 2 root root 1024 Jul 27 16:34 cdrecorder
drwxr--r-- 7 devsforev devsforev 16384 Dec 31 1969 data
drwxr-xr-x 1 root root 4096 Aug 7 11:49 music
drwxr-xr-x 1 root root 4096 Aug 7 14:20 server
I may be approaching this compleatly wrong. My problem is that I cannot write to eaither music or server without being root. The computer I am trying to access is setup as a samba server. Other machines in the house running Windows XP can write, delete, and read anything on thoes drives. However, my linux box cannot.
Any advice on how to allow normal users write permission on these network drives? Thanks a lot.
-- Devsforev
drwxr-xr-x 6 root root 1024 Aug 6 22:20 .
drwxr-xr-x 22 root root 1024 Aug 4 19:18 ..
drwxr-xr-x 2 root root 1024 Jul 27 16:34 cdrecorder
drwxr--r-- 7 devsforev devsforev 16384 Dec 31 1969 data
drwxr-xr-x 2 devsforev root 1024 Aug 6 22:20 music
drwxr-xr-x 2 devsforev root 1024 Aug 3 23:46 server
However, when I mount /mnt/music and /mnt/server, their owner changes. Compare the two.
drwxr-xr-x 6 root root 1024 Aug 6 22:20 .
drwxr-xr-x 22 root root 1024 Aug 4 19:18 ..
drwxr-xr-x 2 root root 1024 Jul 27 16:34 cdrecorder
drwxr--r-- 7 devsforev devsforev 16384 Dec 31 1969 data
drwxr-xr-x 1 root root 4096 Aug 7 11:49 music
drwxr-xr-x 1 root root 4096 Aug 7 14:20 server
I may be approaching this compleatly wrong. My problem is that I cannot write to eaither music or server without being root. The computer I am trying to access is setup as a samba server. Other machines in the house running Windows XP can write, delete, and read anything on thoes drives. However, my linux box cannot.
Any advice on how to allow normal users write permission on these network drives? Thanks a lot.
-- Devsforev