cannot change permission of a dir
I mounted a windows folder into my ubuntu so i could just drop my .torrent files
//192.168.1.61/shared/torrent on /root/downloads/torrents type cifs (rw)
but, whenever i put .torrent file inside my /torrent folder, i get this error [/var/log/messages]
- Watching "/root/downloads/torrents" for new .torrent files (daemon.c:555)
- Using inotify to watch directory "/root/downloads/torrents" (watch.c:73)
- Unable to watch "/root/downloads/torrents": Permission denied (watch.c:79)
so, i turned off the tranmission-daemon service and went inside ubuntu torrent files
root@media:~/downloads# ls -l
total 8
drwxrwxr-x 2 root debian-transmission 4096 May 26 20:28 complete
drwxrwxr-x 2 root debian-transmission 4096 May 26 20:28 incomplete
drwxr-xr-x 2 mark root 0 May 27 2013 torrents
noticed that my torrent folder is not grouped with my root. so i issued this command
root@server#: usermod -a -G debian-transmission root
root@server#: chgrp -R debian-transmission /root/downloads/torrents
root@server#: -R 775 /root/downloads/torrents
but it failed to modify the /torrent folder.
root@media:~/downloads# ls -l
total 8
drwxrwxr-x 2 root debian-transmission 4096 May 26 20:28 complete
drwxrwxr-x 2 root debian-transmission 4096 May 26 20:28 incomplete
drwxr-xr-x 2 mark root 0 May 27 2013 torrents <<--- THIS
in my windows folder i have allowed the shared folder to [read/write/exec].
so my question is, why cant i change the group and owner of my /root/download/torrents
I mounted a windows folder into my ubuntu so i could just drop my .torrent files
//192.168.1.61/shared/torrent on /root/downloads/torrents type cifs (rw)
but, whenever i put .torrent file inside my /torrent folder, i get this error [/var/log/messages]
- Watching "/root/downloads/torrents" for new .torrent files (daemon.c:555)
- Using inotify to watch directory "/root/downloads/torrents" (watch.c:73)
- Unable to watch "/root/downloads/torrents": Permission denied (watch.c:79)
so, i turned off the tranmission-daemon service and went inside ubuntu torrent files
root@media:~/downloads# ls -l
total 8
drwxrwxr-x 2 root debian-transmission 4096 May 26 20:28 complete
drwxrwxr-x 2 root debian-transmission 4096 May 26 20:28 incomplete
drwxr-xr-x 2 mark root 0 May 27 2013 torrents
noticed that my torrent folder is not grouped with my root. so i issued this command
root@server#: usermod -a -G debian-transmission root
root@server#: chgrp -R debian-transmission /root/downloads/torrents
root@server#: -R 775 /root/downloads/torrents
but it failed to modify the /torrent folder.
root@media:~/downloads# ls -l
total 8
drwxrwxr-x 2 root debian-transmission 4096 May 26 20:28 complete
drwxrwxr-x 2 root debian-transmission 4096 May 26 20:28 incomplete
drwxr-xr-x 2 mark root 0 May 27 2013 torrents <<--- THIS
in my windows folder i have allowed the shared folder to [read/write/exec].
so my question is, why cant i change the group and owner of my /root/download/torrents
No comments:
Post a Comment