Solved Changing permissions of folders in Ubuntu 24.04

Solved issue


try chown again, if it works next step is to update /etc/fstab and tell it how to mount your NTFS drives.
I don't know what to update in /etc/fstab, I used Disks to set drives to mount at startup. This is my fstab file:
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p5 during curtin installation
/dev/disk/by-uuid/10ee13a5-bc35-42e8-88e2-a8e0c412c538 / ext4 defaults 0 1
# /boot/efi was on /dev/nvme0n1p1 during curtin installation
/dev/disk/by-uuid/FA4D-FBB0 /boot/efi vfat defaults 0 1
/dev/disk/by-uuid/01DADA7CB9415F40 /media/lafenice/SSD2 auto nosuid,nodev,nofail,x-gvfs-show,noauto,x-gvfs-icon=SSD 0 0
/dev/disk/by-uuid/01DADA60D581CC60 /media/lafenice/MUSICA\040&\040VIDEO auto nosuid,nodev,nofail,x-gvfs-show,noauto,x-gvfs-icon=Multimedia 0 0
/dev/disk/by-uuid/01DAD9DA51E5BF00 /media/lafenice/DATA auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-icon=Data 0 0
/dev/disk/by-uuid/54BC56CBBC56A6F0 /media/lafenice/WINDOWS\04011 auto nosuid,nodev,nofail,x-gvfs-show,noauto,x-gvfs-icon=WindowsLogo 0 0
/dev/disk/by-uuid/01D29F1808F76C30 /media/lafenice/FENICE auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-icon=Phoenix1 0 0
/swapfile none swap sw 0 0
 
If you did this.

Then run the following and share the output again.
mount | grep DATA
Code:
/dev/nvme0n1p6 on /media/lafenice/DATA type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
 
mount | grep DATA
Code:
/dev/nvme0n1p6 on /media/lafenice/DATA type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
I don't have much recent hands on experience with ntfs drives but that looks the same as before.
Try editing you fstab entry and make it look like this.
Code:
/dev/disk/by-uuid/01DAD9DA51E5BF00 /media/lafenice/DATA auto rw,nosuid,nodev,nofail,x-gvfs-show,x-gvfs-icon=Data 0 0
Then umount it and mount it again.
Code:
sudo umount /media/lafenice/DATA
sudo mount /media/lafenice/DATA
And check if you can write to it and if the permissions are still correct which use changed to them before?
 
I don't know what to update in /etc/fstab, I used Disks to set drives to mount at startup. This is my fstab file:
You have set 5 drives? are they all NTFS?
I don't think your fstab is correct for those drives because filesystem type needs to be specified for each drive but it's not set.

Please post output of lsblk
 
You have set 5 drives? are they all NTFS?
4 drives, all NTFS :)
DATA and WINDOWS are partitions of the same drive.

Please post output of lsblk
lsblk
Code:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 21.5M 1 loop /snap/audacious/190
loop1 7:1 0 6.2M 1 loop /snap/ark/59
loop2 7:2 0 249.1M 1 loop /snap/audacity/1051
loop3 7:3 0 4K 1 loop /snap/bare/5
loop4 7:4 0 172.4M 1 loop /snap/brave/424
loop5 7:5 0 172.8M 1 loop /snap/brave/426
loop6 7:6 0 163.8M 1 loop /snap/chromium/2910
loop7 7:7 0 166.2M 1 loop /snap/chromium/2923
loop8 7:8 0 13.2M 1 loop /snap/chromium-ffmpeg/55
loop9 7:9 0 104.2M 1 loop /snap/core/17200
loop10 7:10 0 55.7M 1 loop /snap/core18/2829
loop11 7:11 0 63.9M 1 loop /snap/core20/2318
loop12 7:12 0 74.2M 1 loop /snap/core22/1380
loop13 7:13 0 66.2M 1 loop /snap/core24/423
loop14 7:14 0 67.8M 1 loop /snap/cups/1058
loop15 7:15 0 231.8M 1 loop /snap/dolphin/54
loop16 7:16 0 5.5M 1 loop /snap/falkon/120
loop17 7:17 0 5.5M 1 loop /snap/falkon/121
loop18 7:18 0 62.2M 1 loop /snap/ffmpeg-2204/122
loop19 7:19 0 62.2M 1 loop /snap/ffmpeg-2204/126
loop20 7:20 0 268.9M 1 loop /snap/firefox/4630
loop21 7:21 0 268.4M 1 loop /snap/firefox/4650
loop22 7:22 0 10.7M 1 loop /snap/firmware-updater/127
loop23 7:23 0 19M 1 loop /snap/freac/2996
loop24 7:24 0 65.3M 1 loop /snap/gearboy/163
loop25 7:25 0 65.3M 1 loop /snap/gearsystem/160
loop26 7:26 0 164.8M 1 loop /snap/gnome-3-28-1804/198
loop27 7:27 0 349.7M 1 loop /snap/gnome-3-38-2004/143
loop28 7:28 0 505.1M 1 loop /snap/gnome-42-2204/176
loop29 7:29 0 402.4M 1 loop /snap/gnome-46-2404/42
loop30 7:30 0 140K 1 loop /snap/gtk2-common-themes/13
loop31 7:31 0 91.7M 1 loop /snap/gtk-common-themes/1535
loop32 7:32 0 63.6M 1 loop /snap/handbrake-jz/142
loop33 7:33 0 32.1M 1 loop /snap/hunspell-dictionaries/21
loop34 7:34 0 44.1M 1 loop /snap/identity/37
loop35 7:35 0 219.6M 1 loop /snap/k3b/23
loop36 7:36 0 438.2M 1 loop /snap/kdenlive/105
loop37 7:37 0 443.2M 1 loop /snap/kf5-5-111-qt-5-15-11-core22/7
loop38 7:38 0 2G 1 loop /snap/kf6-core22/34
loop39 7:39 0 2G 1 loop /snap/kf6-core22/35
loop40 7:40 0 1.1G 1 loop /snap/libreoffice/324
loop41 7:41 0 325.1M 1 loop /snap/makemkv/627
loop42 7:42 0 235.3M 1 loop /snap/mame/4278
loop43 7:43 0 225M 1 loop /snap/mesa-2404/44
loop44 7:44 0 520.4M 1 loop /snap/nightmayr-kf5-qt-5-15-2-core20/30
loop45 7:45 0 575.6M 1 loop /snap/obs-studio/1302
loop46 7:46 0 396.5M 1 loop /snap/openshot-community/4
loop47 7:47 0 153.9M 1 loop /snap/opera/320
loop48 7:48 0 154M 1 loop /snap/opera/321
loop49 7:49 0 301.5M 1 loop /snap/qt5-core20/18
loop50 7:50 0 200.7M 1 loop /snap/qt-common-themes/5
loop51 7:51 0 188M 1 loop /snap/qt-common-themes/8
loop52 7:52 0 54.2M 1 loop /snap/rpcs3-emu/851
loop53 7:53 0 51.7M 1 loop /snap/sameboy/2128
loop54 7:54 0 10.3M 1 loop /snap/snap-store/1124
loop55 7:55 0 10.5M 1 loop /snap/snap-store/1173
loop56 7:56 0 38.7M 1 loop /snap/snapd/21465
loop57 7:57 0 38.8M 1 loop /snap/snapd/21759
loop58 7:58 0 476K 1 loop /snap/snapd-desktop-integration/157
loop59 7:59 0 149.6M 1 loop /snap/thunderbird/497
loop60 7:60 0 1.8M 1 loop /snap/torrhunt/21
loop61 7:61 0 2.9M 1 loop /snap/transmission/91
loop62 7:62 0 3M 1 loop /snap/transmission/98
loop63 7:63 0 724K 1 loop /snap/ufw/653
loop64 7:64 0 25.9M 1 loop /snap/video-downloader/1178
loop65 7:65 0 25.9M 1 loop /snap/video-downloader/1182
loop66 7:66 0 321.1M 1 loop /snap/vlc/3777
sda 8:0 0 223.6G 0 disk
└─sda1 8:1 0 223.6G 0 part
sdb 8:16 0 1.8T 0 disk
└─sdb1 8:17 0 1.8T 0 part /media/lafenice/FENICE
sdc 8:32 0 5.5T 0 disk
└─sdc1 8:33 0 5.5T 0 part
nvme0n1 259:0 0 1.8T 0 disk
├─nvme0n1p1 259:1 0 100M 0 part /boot/efi
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 145.6G 0 part
├─nvme0n1p4 259:4 0 768M 0 part
├─nvme0n1p5 259:5 0 139.8G 0 part /var/snap/firefox/common/host-hunspell
│ /
└─nvme0n1p6 259:6 0 1.5T 0 part /media/lafenice/DATA
 
All good after restart: aMule can access the folder containing its temporary file, and I am able to copy files in the folder where I couldn't before. Another case solved by the members of this Forum.
Thank you very much @f33dm3bits, @CaffeineAddict and @dos2unix, you got me out of trouble. I'm still pissed because of the time+energy we all lost to solve this issue, but that's a problem between me and Ubuntu. THANK YOU!
 
I'm still pissed because of the time+energy we all lost to solve this issue, but that's a problem between me and Ubuntu. THANK YOU!
Glad to have helped you out. Also remember you are still new to Linux it will be a learning process getting to know a new os. Don't be afraid to ask for help when you are stuck on something or are confused about something! Welcome to the forums!
 
lsblk shows not all drives are mounted, so please also post output of sudo blkid

For your /media/lafenice/FENICE which is mounted the /etc/fstab is set like this:
Code:
/dev/disk/by-uuid/01D29F1808F76C30 /media/lafenice/FENICE auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-icon=Phoenix1 0 0
It sets both auto and noauto which makes no sense.
auto means to auto mount it after boot, and noauto means you'll mount it yourself after boot.

nofail is needed because without it you might not be able to boot.
nosuid,nodev is not needed and I don't know what other parameters mean.

It should be set like this, this is how I have my HDD mount on boot (adjusted for your case):
Code:
/dev/sdb1 /media/lafenice/FENICE ntfs auto,user,exec,async,rw,nofail  0 2

Note that ntfs is added here.
So you can for now change only this line in your /etc/fstab and then test it with:

Bash:
sudo umount /media/lafenice/FENICE
mount /dev/sdb1 /media/lafenice/FENICE

Then running chown should work for /media/lafenice/FENICE

Thank you very much @f33dm3bits, @CaffeineAddict and @dos2unix, you got me out of trouble. I'm still pissed because of the time+energy we all lost to solve this issue, but that's a problem between me and Ubuntu. THANK YOU!
Ok, it's solved, you're welcome.
 



Top