June 4, 201313 yr I am having trouble regularly removing files from my box due to permission denied on my Mac. I have completed the following: 1. I have used the Unraid permissions utility on all files; 2. I have used the telnet command newperms /mnt/user/whatever/your/file/path/is/ to correct permissions but I still am unable to delete the odd file. Can someone educate me as to why this happens?
June 4, 201313 yr To delete a file requires that you have write access to the directory containing the file, not the file itself. So maybe you need to run newperms on the directory containg the file and not just the file ..... Note that this will also change the permissions on any files or directories within the specified directory.
June 5, 201313 yr Show the output of ls -al. Run the command on all level of the file path. Show a screen shot of the share config.
June 5, 201313 yr Author root@Tower:~# ls -al total 16 drwx--x--- 2 root root 0 2013-03-23 16:53 ./ drwxr-xr-x 16 root root 0 2013-06-04 18:33 ../ -rw-r--r-- 1 root root 51 2013-03-23 16:53 .bash_profile lrwxrwxrwx 1 root root 26 2013-03-23 16:53 initconfig -> /usr/local/sbin/initconfig* -rwxr-xr-x 1 root root 171 2013-03-23 16:53 mdcmd* -rwxr-xr-x 1 root root 7565 2013-03-23 16:53 mkmbr* lrwxrwxrwx 1 root root 25 2013-03-23 16:53 powerdown -> /usr/local/sbin/powerdown lrwxrwxrwx 1 root root 18 2013-03-23 16:53 samba -> /etc/rc.d/rc.samba*
June 5, 201313 yr Enter ls -ls /mnt/user/whatever/your/file/path/is/ ls -ls /mnt/user/whatever/your/file/path ls -ls /mnt/user/whatever/your/file/ ls -ls /mnt/user/whatever/ Show the share configuration for the share where the file resides, e.g., click on Movies.
Archived
This topic is now archived and is closed to further replies.