Originally Posted by
Irwin J. Finster
When I enter tail dmesg I get the reply:
tail: "dmesg" can not be opened to read: No such file or directory
root owns the folder /media/NAS and it can read and write.
I am only mounting this one share here is my fstab:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=e0519f9a-d3bd-41d6-9c56-8e62f4d54f65 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=ece0e11a-c5d4-48ac-a2fc-523828dbbdcf none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
//WHITE_RABBIT/NAS /media/NAS cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_ mode=0777 0 0
sorry, it's
if the folder is owned by root, that may be your problem. here is the permissions of a folder I mount a smb share to. the folder is named fat32 and is located within /media/
Code:
drwxr-xr-- 2 daniel daniel 4096 2009-06-16 14:38 fat32
/media/ has these permission.
Code:
drwxr-xr-x 12 daniel daniel 4096 2010-05-05 18:32 media
my fstab line is this
Code:
//192.168.0.5/fat32 /media/fat32 cifs auto,noexec,users,nounix,uid=1000,gid=1000,credentials=/etc/samba/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
and the file .smbcredentials has these permissions.
Code:
-r-------- 1 daniel daniel 35 2009-06-21 01:55 /etc/samba/.smbcredentials
look at these things. also, can you show me the smb.conf for the share from the server? this is mine
[fat32]
path = /media/fat32
comment = Movies on dell
available = yes
browsable = yes
read only = No
store dos attributes = no
create mask = 0755
directory mask = 0755
public = yes
writable = yes
guest ok = yes
force user = daniel
force group = daniel
good luck
Bookmarks