I can not view folders rename or delete

hello people

Before I was using raspbmc, no problem, I’ll try to explain my problem.

Use the OSMC, together with the transmission and HD to store my movies.

It happens that I am unable to view my folders on the network and also by OSMC file manager can not delete or rename my folders.

below I will put the tutorial to follow for installation of transmission and permissionamento folders.

only way to get to getting to delete my films is the torrent manager which exclude the torrent and along the main file.

please help me.

I have a friend with the installed rc2 not you any of these problems, can this be?

 sudo mkdir /media/hdd
 sudo mount -t auto /dev/sda1 /media/hdd
 sudo nano /etc/fstab
 /dev/sda1 /media/hdd auto noatime 0 0
 sudo apt-get install transmission-daemon
 sudo mkdir /media/hdd/incomplete
 sudo mkdir /media/hdd/complete
 sudo mkdir /media/hdd/filmes
 sudo mkdir /media/hdd/series
 sudo usermod -a -G debian-transmission debian-transmission
 sudo chgrp debian-transmission /media/hdd/incomplete
 sudo chgrp debian-transmission /media/hdd/complete
 sudo chgrp debian-transmission /media/hdd/filmes
 sudo chgrp debian-transmission /media/hdd/series
 Sudo chmod 777 /media/hdd/incomplete
 Sudo chmod 777 /media/hdd/complete
 Sudo chmod 777 /media/hdd/filmes
 Sudo chmod 777 /media/hdd/series
 sudo service transmission-daemon stop
 sudo adduser debian-transmission debian-transmission 
 sudo chown debian-transmission -R /var/lib/transmission-daemon/info/
 sudo chown debian-transmission -R /media/hdd/complete
 sudo chown debian-transmission -R /media/hdd/incomplete
 sudo chown debian-transmission -R /media/hdd/filmes
 sudo chown debian-transmission -R /media/hdd/series
 sudo service transmission-daemon start
 sudo cp /etc/transmission-daemon/settings.json /etc/transmission-daemon/settings.json.old
 sudo nano /etc/transmission-daemon/settings.json

.

 alt-speed-down: 50,
 alt-speed-enabled: false,
 alt-speed-time-begin: 540,
 alt-speed-time-day: 127,
 alt-speed-time-enabled: false,
 alt-speed-time-end: 1020,
 alt-speed-up: 50,
 bind-address-ipv4″: 0.0.0.0″,
 bind-address-ipv6″: ::,
 blocklist-enabled: false,
 blocklist-url: http://www.example.com/blocklist,
 cache-size-mb: 4,
 dht-enabled: true,
 download-dir: /media/hdd/complete, (Aqui apontamos a pasta de downloads completos)
 download-limit: 100,
 download-limit-enabled: 0,
 download-queue-enabled: true,
 download-queue-size: 5,
 encryption: 1,
 idle-seeding-limit: 30,
 idle-seeding-limit-enabled: false,
 incomplete-dir: /media/hdd/incomplete,  (Aqui apontamos a pasta de downloads incompletos ou em progresso)
 incomplete-dir-enabled: true, (Habilita a pasta de downloads completos ou em progresso)
 lpd-enabled: false,
 max-peers-global: 200,
 message-level: 2,
 peer-congestion-algorithm: ,
 peer-limit-global: 240,
 peer-limit-per-torrent: 60,
 peer-port: 51413,
 peer-port-random-high: 65535,
 peer-port-random-low: 49152,
 peer-port-random-on-start: false,
 peer-socket-tos: default,
 pex-enabled: true,
 port-forwarding-enabled: false,
 preallocation: 1,
 prefetch-enabled: 1,
 queue-stalled-enabled: true,
 queue-stalled-minutes: 30,
 ratio-limit: 2,
 ratio-limit-enabled: false,
 rename-partial-files: true,
 rpc-authentication-required: true,
 rpc-bind-address: 0.0.0.0″,
 rpc-enabled: true,
 rpc-password: (redacted),    (Ao fechar o arquivo ele criptografa a senha!)
 rpc-port: 9091, (Tente manter o padrão mas se quiser alterar, fique a vontade)
 rpc-url: /transmission/,
 rpc-username: transmission, (usuário de acesso ao Transmission)
 rpc-whitelist: 127.0.0.1″,
 rpc-whitelist-enabled: false, (Desabilita a Whistelist que é uma lista de ip’s permitidos)
 scrape-paused-torrents-enabled: true,
 script-torrent-done-enabled: false,
 script-torrent-done-filename: ,
 seed-queue-enabled: false,
 seed-queue-size: 10,
 speed-limit-down: 100,
 speed-limit-down-enabled: false,
 speed-limit-up: 100,
 speed-limit-up-enabled: false,
 start-added-torrents: true,
 trash-original-torrent-files: false,
 umask: 18,
 upload-limit: 100,
 upload-limit-enabled: 0,
 upload-slots-per-torrent: 14,
 utp-enabled: true

.

 sudo service transmission-daemon reload
 sudo service transmission-daemon restart

You have to enable rename and delete files under settings

1 Like

You are not able to make any directories under /media, osmc use it to automount media and it will be reset after reboot. Instead makedir under /mnt.

1 Like

I have enable this option Yet he does not. I would have to create my folders as follows: /mnt/hdd ???

Hugs

Yes, /hdd under /media will be removed after reboot.

1 Like

I have two problems: My OSMC is not appearing on the network and even the OSMC file manager can not delete my files.

My friend also mounted on /media and is not having any problems, he can access files over the network normally.

my problem is I believe permissions because the OSMC file manager can not delete any file.

only way that managed to delete my HD files is through the torrent manager (transmission)

Here are my “notes” on how I mounted my 2nd HDD labeled partition Pi2

Putty SSH
osmc:osmc
type: mount
look for te HDD mounted in \media
/dev/sdb5 on /media/Pi2 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks)
ls -l /dev/disk/by-uuid/
lrwxrwxrwx 1 root root 10 Aug 1 22:51 7ef3cbba-7ecb-d001-70f1-cbba7ecbd001 -> …/…/sdb5
sudo mkdir /mnt/HDD2

sudo umount /media/Pi2
sudo nano /etc/fstab
UUID=7ef3cbba-7ecb-d001-70f1-cbba7ecbd001 /mnt/HDD2 ext4 defaults,noatime 0 0
osmc@osmc:~$ sudo mkdir /mnt/HDD2/Movies
reboot
SSH
Set owner recursive
sudo chown -R osmc:osmc /mnt/HDD2
Set read/write rights
sudo chmod a+rwx /mnt/HDD2

SAMBA
nano /etc/samba/smb-shares.conf

[HDD2]
path = /mnt/HDD2
available = yes
valid users = osmc
read only = no
browseable = yes
public = yes
writable = yes

1 Like

I think I found the problem, try to change this line:

sudo usermod -a -G debian-transmission debian-transmission

To this line:

sudo usermod -a -G osmc debian-transmission

Hi, thanks for reply

If I write that line will not lose my user for transmission, will I get my Downloads normally do?

i try this

sudo usermod -a -G osmc debian-transmission
sudo apt-get install samba samba-common-bin
sudo nano /etc/samba/smb.conf
[hdd]
path = /media/hdd
available = yes
valid users = osmc
read only = no
browseable = yes
public = yes
writable = yes

not working

i install openlec…

It will not help to move to Openelec if you do not get the setup right. Take a look at this topic, it might give you a clue:

And this page:

For the record I am not a user of transmission, yet… :smile: