Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Issue with user/permissions for some files (root)

Featured Replies

Hi guys,

 

I was wondering if anyone could kindly help. I have a nifty little set-up, thanks to users on the forum where a script running as a cronjob grabs folders from a remote server (lftp) on to the cache drive on my nas, Couchpotato then moves these folders to a share (disk1,2,3, etc).

 

Occasionally, for some reason or another, CP fails to move the odd folder and its content, and the reason is, it requires "permission from root"  (get this message when trying to edit/delete file manually from explorer). While other folders have moved no problem and are under the user "nobody"  (My unraid only has root user).

 

I have made sure permissions are  755, but even then I cannot edit the file name or delete in windows explorer. Any ideas why this might be happening and how I can fix it ?

 

 

My script includes changing permissions to 755

 

lftp <<EOF
set ftp:ssl-auth TLS
set ftp:ssl-force true
set ftp:ssl-protect-list yes
set ftp:ssl-protect-data yes
set ssl:verify-certificate off
open -u $login,$pass $host
chmod -R 755 ~/home/seeduser/downloads/sync
mirror -c --use-pget-n=20 --Remove-source-files --log=/var/log/synctorrents_movies.log /home/seeduser/downloads/sync /mnt/user/downloads/complete/movies
quit 0
EOF

One more suggestion, at the end of your script, after you finish running 'lftp', run newperms.

 

/usr/local/sbin/newperms /mnt/user/downloads/complete/movies

 

eg:

 

lftp <<EOF
set ftp:ssl-auth TLS
set ftp:ssl-force true
set ftp:ssl-protect-list yes
set ftp:ssl-protect-data yes
set ssl:verify-certificate off
open -u $login,$pass $host
chmod -R 755 ~/home/seeduser/downloads/sync
mirror -c --use-pget-n=20 --Remove-source-files --log=/var/log/synctorrents_movies.log /home/seeduser/downloads/sync /mnt/user/downloads/complete/movies
quit 0
EOF

/usr/local/sbin/newperms /mnt/user/downloads/complete/movies

  • Author

thanks for the suggestion, I will give it a shot

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.