Can't save files on extra partition

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
lauren

Can't save files on extra partition

Post by lauren »

Before installing Julia 64 bit I created "/", "/home" and "/media/LINUX";
partition LINUX as Data-exchange for my multi boot.
/etc/mtab:

Code: Select all

...
/dev/sda16 /media/LINUX ext3 rw,nosuid,nodev,uhelper=udisks 0 0
I can't copy or save files to it - even after editing /etc/fstab/:
adding a new row:

Code: Select all

...
/dev/sda16 /media/LINUX ext3 rw,users 0 0
I've got the answer "NO permission" or Firefox saved the download in my home
directory although I defined LINUX as download location.
Any idea?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
altair4
Level 20
Level 20
Posts: 11454
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't save files on extra partition

Post by altair4 »

If /media/LINUX is a newly formed partition then it mounted with owner = root and with permissions of 755. Root can read / write to the partition ( the "7" part ) and everyone else can only read ( the "5" part ). If this where just a single install of Linux you could just take ownership of the partition away from root by doing a chown but since this need to be accessible by others in the mutiboot you could do something like this:

Code: Select all

sudo chmod 0777 /media/LINUX
This will make it so that all users will be able to open, add to, delete from, and copy from that partition.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
lauren

Re: Can't save files on extra partition

Post by lauren »

Hi altair4!
Excuse me!
As I was new to Mint forum I did not observe that I had to "subscribe topic", because in the forums I visited before it was done automatically.
Meanwhile I deleted that partition to grow up my "/home" - so I "solved" the problem without trying your suggestion. I copied the files booting PartedMagic and starting "cp" from a terminal.
But now I tried to do the same ("chmod") with my "homeFedora", but it does not take effect:
Part of my terminal output:

Code: Select all

lauren-Precision-M4400 ~ # cd /media
lauren-Precision-M4400 media # ls -l
total 24
drwxrwxrwx  1 root   root   8192 2010-11-26 16:31 DATA
drwxr-xr-x. 5 root   root   4096 2010-11-07 17:35 homeFedora
drwx------  2 lauren lauren 4096 1970-01-01 01:00 MICROSD8
lauren-Precision-M4400 media # sudo chmod 0777 /media/homeFedora
lauren-Precision-M4400 media # ls -l
total 24
...
drwxrwxrwx. 5 root   root   4096 2010-11-07 17:35 homeFedora
...
1. Do you know what the digits 1 /DATA, 5/ homeFedora and 2 /MICROSD8 mean?
2. Maybe I should use "shown"?
lauren
altair4
Level 20
Level 20
Posts: 11454
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't save files on extra partition

Post by altair4 »

1. Do you know what the digits 1 /DATA, 5/ homeFedora and 2 /MICROSD8 mean?
That's the number of subdirectories and files directly under the directory + the directory itself.
But now I tried to do the same ("chmod") with my "homeFedora", but it does not take effect:
It did in fact take affect. You went from this:
drwxr-xr-x. 5 root root 4096 2010-11-07 17:35 homeFedora
Root can add to and delete from that directory and everyone else can only view

To this:
drwxrwxrwx. 5 root root 4096 2010-11-07 17:35 homeFedora
Everyone can add to or delete from that directory
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
lauren

Re: Can't save files on extra partition

Post by lauren »

Hi!
Okay, I saw the changes, but I can't open "homeFedora". At the moment I'm with Mint 10 / Gnome, KDE -> KDE.
When I try to open "homeFedora" with Dolphin, a window opens with "available devices" and shows my SD card!??
An error message appears:
An error occurred while accessing 'homeFedora', the system responded: kdesu: Unknown option 'comment'
lauren
altair4
Level 20
Level 20
Posts: 11454
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't save files on extra partition

Post by altair4 »

I'm afraid I know nothing about KDE to know what that error means.

BTW /media/homeFedora isn't your actual Fedora home folder is it? If your trying to share home folders between OS's that's not going to work out very well. Even if you had the same user name you will have different uid's. In Ubuntu you will have a uid=1000 and in Fedora you will have a uid = 500 ( I think ).
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
lauren

Re: Can't save files on extra partition

Post by lauren »

Hi!
"homeFedora" is my actual home folder for Fedora, and I have an own home folder for each Linux, as Mint9 and Mint10, Fedora, openSUSE (each one on an own partition).
Later on I will logout and choose Gnome - to see what happens.
lauren
lauren

Re: Can't save files on extra partition

Post by lauren »

Hi!
Changing to Gnome -> Trying to open the folder : no success.
Error message:
The folder contents could not be displayed...
... you don't have the permission...
The terminal output was equal.
lauren
unexistance

Re: Can't save files on extra partition

Post by unexistance »

Hi,

Can you do below?
1. <Alt>+<F2>
2. gksudo nautilus<Enter>
3. enter your password

Regards,
Locked

Return to “Software & Applications”